<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="mine" uri="/mytags" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
	var trueText = '<s:text name="UI-00008"></s:text>';
	var falseText = '<s:text name="UI-00009"></s:text>';

	$(function(){
		var start = new Date('${param.start}');
		$("#start").html($.fullCalendar.formatDate(start, "yyyy-MM-dd HH:mm:ss"));
		var end = new Date('${param.start}');
		$("#end").html($.fullCalendar.formatDate(end, "yyyy-MM-dd HH:mm:ss"));
		if('${param.allDay}' == 'true'){
			$("#allDay").html(trueText);
		} else{
			$("#allDay").html(falseText);
		}
		if('${param.editable}' == 'true'){
			$("#editable").html(trueText);
		} else{
			$("#editable").html(falseText);
		}
	});
	
</script>
</head>
<body>
<form action="javascript:;" id="eventForm">
	<table>
		<tr>
			<td><s:text name="UI-00010"></s:text></td>
			<td>${param.title }</td>
		</tr>
		<tr>
			<td><s:text name="UI-00011"></s:text></td>
			<td  id="start">${param.title }</td>
		</tr>
		<tr>
			<td><s:text name="UI-00012"></s:text></td>
			<td id="end"></td>
		</tr>
		<tr>
			<td><s:text name="UI-00013"></s:text></td>
			<td><a href="${param.url }">${param.url }</a></td>
		</tr>
		<tr>
			<td><s:text name="UI-00014"></s:text></td>
			<td>${param.classname }</td>
		</tr>
		<tr>
			<td><s:text name="UI-00015"></s:text></td>
			<td><p>${param.content }</p></td>
		</tr>
		<tr>
			<td><s:text name="UI-00016"></s:text></td>
			<td id="allDay"></td>
		</tr>
		<tr>
			<td><s:text name="UI-00017"></s:text></td>
			<td id="editable"></td>
		</tr>
	</table>
	</form>
</body>
</html>